const getters = {
  token: state => state.user.token,
  userId: state => state.user.id,
  roleId: state => state.user.roleId,
  username: state => state.user.username,
  name: state => state.user.name,
  location: state => state.user.location,
  menuList: state => state.user.menuList,
  roleType: state => state.user.roleType,
  pointType: state => state.user.pointType,
  pointId: state => state.user.pointId,
  tel: state => state.user.tel,
  officeType: state => state.user.officeType,
  preUrl: state => state.user.preUrl
}
export default getters
